num=int (raw_input('please enter an active number:'))
result='g'
if num==0:
    print num
else:
    while num>0:
        result+=str(num%2)
        num>>1
    print result
    
